<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单添加</title>
    <link rel="stylesheet" href="//unpkg.com/layui@2.6.6/dist/css/layui.css">
</head>
<body>
<form class="layui-form" action="{:url('save')}" method="post"  enctype="multipart/form-data" >
    <div class="layui-form-item">
        <label class="layui-form-label">天数</label>
        <div class="layui-input-block">
            <input type="text" name="s_day" required lay-verify="required" placeholder="请输入天数" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">积分</label>
        <div class="layui-input-block">
            <input type="number" name="s_integral"  lay-verify="required" placeholder="请输入积分" autocomplete="off"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">排序</label>
        <div class="layui-input-block">
            <input type="number" name="s_sotre"  lay-verify="required" placeholder="请输入积分" autocomplete="off"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">是否展示</label>
        <div class="layui-input-block">
            <input type="radio" name="s_status" value="2" title="否">
            <input type="radio" name="s_status" value="1" title="是" checked>
        </div>
    </div>


    <div class="layui-upload">
        <input type="file" name="images" >
    </div>

    <a name="list-progress"> </a>

    <button type="submit" class="layui-btn layui-btn-lg">提交</button>
</form>
</body>
</html>
<!-- 引入 layui.js -->
<script src="//unpkg.com/layui@2.6.6/dist/layui.js"></script>

<script>

</script>